programming4us
           
 
 
SQL Server

SQL Server 2008 : ACID

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
12/3/2010 7:27:51 PM
ACID (Atomicity, Consistency, Isolation, and Durability) is the basic foundation upon which transactions are built. In order to be considered a transaction, the statement must fulfill these foundations.

Atomicity

Transactions are atomic units of work. This means that either all the work within the transaction is completed or none of the work is completed. Think of an update statement, which is unto itself an autocommit transaction. When you run an update statement either all rows affected by the update statement are changed, or all the rows are left unchanged. There is no way for a single update statement to commit half of the changes and roll back the other half.

Consistency

When a transaction is consistent it means that the data within the transaction remains through the committing of the transaction, at which point it is available for other processes to change it. Within a relational database with foreign keys this means that all the rules that maintain the data integrity of the database must be enforced. This includes the internal structures of the database such as the B-Tree lists that make up the physical table.

Isolation

The isolation of a transaction tells us that no other transaction can change the data that we have locked for reading or writing. When two transactions are running and working with the same table a single transaction recognizes the data from the state it was in before the other transaction works with the data, or after that transaction works with the data, but it does not recognize that the data is available while the other transaction is working with that data. This is known as serializing access to the data as only a single statement at any one time can access the data. SQL Server controls this isolation by taking locks of the row, page, or table before data modification and releasing those locks after the statement has completed in the case of an autocommit transaction, or when the transaction is completed or rolled back in the case of the explicit transaction.

Durability

A transaction is durable when the data that has been modified by the transaction remains in the state that the transaction left it in. This data must also survive the event of a system failure. When it is said that the data must remain in that state, this does not preclude another transaction from making changes to this data after the initial transaction has been completed.

Other -----------------
- SQL Server 2008 : Transactions Explained
- SQL server 2008 : Handling Errors (part 3)
- SQL server 2008 : Handling Errors (part 2)
- SQL server 2008 : Handling Errors (part 1)
- SQL Server 2008 : Indexing for Performance - Putting It All Together (part 5) - Filtered Indexes
- SQL Server 2008 : Indexing for Performance - Putting It All Together (part 4) - Indexing JOIN Criteria
- SQL Server 2008 : Indexing for Performance - Putting It All Together (part 3) - Covering Your Queries
- SQL Server 2008 : Indexing for Performance - Putting It All Together (part 2) - Clustered Index Seeks
- SQL Server 2008 : Indexing for Performance - Putting It All Together (part 1)
- SQL Server Integration Services : Logged and Nonlogged Operations
- SQL Server Integration Services : Using bcp (part 5)
- SQL Server Integration Services : Using bcp (part 4)
- SQL Server Integration Services : Using bcp (part 3)
- SQL Server Integration Services : Using bcp (part 2) - Fundamentals of Exporting and Importing Data
- SQL Server Integration Services : Using bcp (part 1)
- SQL Server Integration Services : Connection Projects in Visual Studio
- SQL Server Integration Services : The Package Execution Utility (part 3) - The dtutil Utility
- SQL Server Integration Services : The Package Execution Utility (part 2) - Running Packages
- SQL Server Integration Services : The Package Execution Utility (part 1)
- SQL Server Integration Services : The SSIS Designer
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us